package main

import (
	"fmt"
	"testgin0012/chat/client/basic"
)

func init() {

}

func main() {
	client, err := basic.NewClient("tcp", "127.0.0.1:9999")
	if err != nil {
		fmt.Println("启动异常, err=", err)
		return
	}
	go client.WaitReceived()
	client.WaitSend()
}
